import request from "../utils/request";

// 登录
export const login_API = (data) => {
  return request({
    url: "/xcx/t_user/log_in",
    method: "POST",
    data,
  });
};

// 获取用户信息
export const getUserInfo_API = () => {
  return request({
    url: "/xcx/t_user/get",
    method: "GET",
  });
};

// 修改个人信息
export const editUserInfo_API = (data) => {
  return request({
    url: "/xcx/t_user/update",
    method: "PUT",
    data,
  });
};
